package cc.mrbird.statistical.service;

import cc.mrbird.common.service.IService;
import cc.mrbird.statistical.domain.UnitAnalysis;
import cc.mrbird.system.domain.User;
import org.springframework.cache.annotation.CacheConfig;

import java.util.Map;

@CacheConfig(cacheNames = "UnitAnalysisService")
public interface UnitAnalysisService extends IService<UnitAnalysis> {
    Map<String,Float> failureRateStatistics(String nextTime, User currentUser);
}
